package com.lkl.hystrixdemo.order.model;

import java.io.Serializable;
import java.util.Random;

public class User implements Serializable {
    int id;

    String username;

    String  email;

    public User() {
        this.id = new Random(10000).nextInt();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
